package com.lzw.service;

import com.lzw.bean.Menu;
import com.lzw.bean.MenuNode;
import com.lzw.common.bean.Result;
import com.lzw.common.service.BaseService;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * Created by 林志伟 on 2017/5/11.
 */
public interface MenuNodeService extends BaseService<MenuNode>{

    public Result insertAll( List<MenuNode> menuNodes);

    public Result deleteOther(int menu_id, int[] node_ids);
    public Result setNode( int menu_id, int[] node_ids);

    public MenuNode findByMenuIdNodeId(int menu_id,int node_id);
}
